﻿@model SportsStore.WebUI.Models.LoginViewModel

@{
    ViewBag.Title = "Admin:Login In";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
<div class="panel">
<div class="panel-heading">
    <h3>Log In 登录</h3>
</div>
<div class="panel-body">
    <p class="lead">Please log in to access the administration area（默认是admin，密码：123456，写在web.config中，用于专注业务主体）:</p>
    @using (Html.BeginForm())
    {
        @Html.ValidationSummary()
        <div class="form-group">
            <label>User Name:</label>
            @Html.TextBoxFor(m => m.UserName, new { @class="form control"})
        </div>
        <div class="form-group">
            <label>Password:</label>
            @Html.PasswordFor(m=>m.password,new { @class="form control"})
        </div>
        <input type="submit" value="Login in" class="btn btn-primary" />
    }
</div>

</div>